package com.SmartCampus.system.mapper;

import com.SmartCampus.system.model.dto.attendance.AttendanceQueryRequest;
import com.SmartCampus.system.model.entity.Attendance;
import com.SmartCampus.system.model.vo.AttendanceVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author wangliang
* @description 针对表【Attendance(签到表)】的数据库操作Mapper
* @createDate 2024-12-27 20:33:35
* @Entity generator.domain.Attendance
*/
public interface AttendanceMapper extends BaseMapper<Attendance> {

    List<AttendanceVO> getAll(Page<AttendanceVO> pageParam, AttendanceQueryRequest attendanceQueryRequest);

    List<AttendanceVO> getMy(Page<AttendanceVO> pageParam, AttendanceQueryRequest attendanceQueryRequest, Long userId);
}




